package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

import java.io.Serializable;

/**
 * @author nianhua.jiang
 */
@Data
@TableName(value = "mis_music_banner")
public class MisMusicBanner implements Serializable {

	private static final long serialVersionUID = 1302854219319168591L;
	/** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/** Banner 名称 */
	@TableField(value = "name")
	private String name;
	/** 图片 */
	@TableField(value = "img_url")
	private String imgUrl;
	/** 超链接 */
	@TableField(value = "link")
	private String link;
	/** banner标签 */
	@TableField(value = "tag")
	private String tag;
	/** 排序 */
	@TableField(value = "sort")
	private Integer sort;
	/** 状态（-2驳回 -1待审核 0启用 1禁用） */
	@TableField(value = "`status`")
	private Integer status;
	/** 分类ID */
	@TableField(value = "category_id")
	private Integer categoryId;
	/** 曲集ID */
	@TableField(value = "collection_id")
	private Integer collectionId;
	/** 0.未关联 1.关联曲集ID 2.关联Link 3.关联意见反馈页面 4.关联视频 5.关联周广仁视频列表 6.关联图片 */
	@TableField(value = "associate_type")
	private Integer associateType;
	/** 运营商 ID */
	private Integer optId;
	/** 机构 ID */
	private Integer orgId;
	/** 创建时间 */
	private LocalDateTime createTime;
	/** 任务ID */
	private Integer taskId;

	public static final String COL_ID = "id";

	public static final String COL_IMG_URL = "img_url";

	public static final String COL_LINK = "link";

	public static final String COL_TAG = "tag";

	public static final String COL_SORT = "sort";

	public static final String COL_STATUS = "status";

	public static final String COL_CATEGORY_ID = "category_id";

	public static final String COL_COLLECTION_ID = "collection_id";

	public static final String COL_ASSOCIATE_TYPE = "associate_type";
}